﻿////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// <copyright>Copyright 2008-2011 Andreas Huber Doenni</copyright>
// Distributed under the GNU General Public License version 2 (GPLv2).
// See accompanying file License.txt or copy at http://phuse.codeplex.com/license.
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

namespace Phuse.Net.Nntp
{
    using System.IO;

    /// <summary>Represents the response to a <see cref="NewNewsCommand"/>.</summary>
    /// <threadsafety static="true" instance="false"/>
    public sealed class NewNewsResponse : MultilineResponse<NewNewsResponse, string, string>
    {
        internal NewNewsResponse(Stream subsequentLines) : base(subsequentLines)
        {
        }

        ////////////////////////////////////////////////////////////////////////////////////////////////////////////////

        /// <summary>See <see cref="MultilineResponseBase{T, U, V}.CreateResponseLine(V)"/>.</summary>
        protected sealed override string CreateResponseLine(string p1)
        {
            return p1;
        }
    }
}
